/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package WS.Respuestas;

/**
 *
 * @author ARMGARCES
 */
public class RespBdGuias {    
    private int result;  
    private double numRela;
    private int esNulo;
    /**
     * 
     */
    public RespBdGuias(){
        esNulo = 1;
        result = 0; 
    }
    /**
     * 
     * @return 
     */
    public boolean isNull(){
        if(getEsNulo() == 1) return true;
        else return false;
    }
    /**
     * @return the result
     */
    public int getResult() {
        return result;
    }
    /**
     * @param result the result to set
     */
    public void setResult(int result) {
        this.setEsNulo(0);
        this.result = result;
    }
    /**
     * @return the esNulo
     */
    public int getEsNulo() {
        return esNulo;
    }
    /**
     * @param esNulo the esNulo to set
     */
    public void setEsNulo(int esNulo) {
        this.esNulo = esNulo;
    }    
    /**
     * @return the numRela
     */
    public double getNumRela() {
        return numRela;
    }
    /**
     * @param numRela the numRela to set
     */
    public void setNumRela(double numRela) {
        this.setEsNulo(0);
        this.numRela = numRela;
    }
}
